package zerous.taphero;
import java.util.*;
import java.nio.*;

public class Item
{
	public static List<ItemData> ITEMS = new ArrayList<ItemData>();
	ItemData data;
	
	private Item(ItemData item) {
		data = item;
	}
	
	public static Item createItem(int id) {
		return new Item(ITEMS.get(id));
	}
	
	public static void initItemsData() {
		ITEMS.add(new ItemData(0, 1, "垃圾", "一个没用的垃圾", false));
	}
	
	public static class ItemData {
		boolean equipable;
		int level;
		int id;
		String name, descrpition;
		public ItemData(int id, int level, String name, String d, boolean e) {
			this.level = level;
			this.id = id;
			this.name = name;
			descrpition = d;
			equipable = e;
		}
	}
}
